﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;

namespace FaWorksSolution.MvcApplication.Models.Assets
{
    /// <summary>
    /// 资源对象
    /// </summary>
    [Table("rsFile")]
    public class File
    {
        [Key]
        public Guid FileId { get; set; }

        public string FilePath { get; set; }
        public string Version { get; set; }
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Order { get; set; }

        public IList<Cdn> Cdns { get; set; }
    }
}